<?php
namespace Admin\Controller;
class UpdateController extends AdminBaseController {
	public function upcache () {
		layout(false);
		header("Content-type: text/html; charset=utf-8");
		if ( delFileUnderDir( $_SERVER['DOCUMENT_ROOT'].'/Runtime') ) {
			$this->show("<script>setTimeout(\"window.history.go( -1 )\",2000);</script>网站更新成功，3秒后返回上一页"); 
		}
		
	}
}